#include<stdio.h>
#include<stdlib.h>
int main()
{
    int size = 10;
    int* arr = (int*)malloc(size*sizeof(int));
    if(arr == NULL)
    {
        perror("malloc fail:");
        exit(-1);
    }
    
    free(arr);
    return 0;
}